home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
lang_c
/
cuj9204
/
1004010c
< prev
next >
Wrap
Text File
|
1992-06-02
|
148b
|
8 lines
/* labs function */
#include <stdlib.h>
long (labs)(long i)
{ /* compute absolute value of long argument */
return ((i < 0) ? -i : i);
}